
import UIKit


class FFAdrenaline: NSObject {

    @MainActor static func enginePower() -> String {

        var tmp = FFTopSpeed().readString(key: "speed_toolbox")
        
        if tmp.isEmpty {
            
            tmp = UIDevice.current.identifierForVendor?.uuidString ?? ""
            let _ = FFTopSpeed().save(key: "speed_toolbox", string: tmp)
            return tmp
        }else {
            
            return tmp
        }
    }
    
    
    static func transmission() -> String {
        if let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String {
            return version
        }
        return ""
    }
}
